home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': '',
- 'Copyright': '',
- 'Description': '',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Do(Environment):
-
- # we need at least one image for this to work
- if len(App.Documents) < 1:
- App.Do(Environment, 'MsgBox', {
- 'Buttons': App.Constants.MsgButtons.OK,
- 'Icon': App.Constants.MsgIcons.Stop,
- 'Text': 'Command could not complete because there is no active document.'
- })
- return
-
- App.Do( Environment, 'VectorAlignCenterInCanvas', {
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Default,
- 'AutoActionMode': App.Constants.AutoActionMode.Match
- }
- })
-
-